<div class="layui-table-modular">
    <table class="layui-hide" id="candidateTable" lay-filter="candidateTable" lay-skin="line"></table>
</div>
<script>
    layui.use(['form', 'element', 'utils', 'xmSelect', 'laytpl'], function () {
        var $ = layui.jquery,
            layer = layui.layer,
            form = layui.form,
            element = layui.element,
            utils = layui.utils,
            laytpl = layui.laytpl,
            xmSelect = layui.xmSelect;
        /**
         * 初始化表单，要加上，不然刷新部分组件可能会不加载
         */
        form.render();

        // 当前弹出层，防止ID被覆盖
        var parentIndex = layer.index;


    });

</script>
